﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Goa
{
    [Serializable]
    class Session
    {
        public int SessionNumber { get; set;}
        public string id {get; set;}
        public List<MeasuredValues> ListOfValues {get; set;}

        /**
         * Constructor for the Session class
         */
        public Session(int sessionNumber, string id)
        {
            SessionNumber = sessionNumber;
            this.id = id;
            ListOfValues = new List<MeasuredValues>();
        }

        /**
         * Adds a MeasuredValues object to the array.
         */
        public void addMeasurements(MeasuredValues m)
        {
            ListOfValues.Add(m);
        }
    }
}